// AppEventStream.h: interface for the AppEventStream class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_APPEVENTSTREAM_H__0C7A3F07_864C_4F21_8DDE_4E8418FEBCD0__INCLUDED_)
#define AFX_APPEVENTSTREAM_H__0C7A3F07_864C_4F21_8DDE_4E8418FEBCD0__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "AppEvent_streambuf.h"
#include <ostream>

typedef std::basic_ostream<char> std_ostream;

class AppEventStream : public std_ostream
{
public:
	explicit AppEventStream()
		:std_ostream(&streambuf)
	{
	};
	virtual ~AppEventStream()
	{

	}

protected:
	AppEvent_streambuf streambuf;

private:
	AppEventStream(const AppEventStream&);
	AppEventStream& operator=(const AppEventStream&);

};

#endif // !defined(AFX_APPEVENTSTREAM_H__0C7A3F07_864C_4F21_8DDE_4E8418FEBCD0__INCLUDED_)
